Support opt-in UIDONLY acquisition for large Yahoo mailboxes - #337
Open
gabeosx wants to merge 4 commits into
Open
Support opt-in UIDONLY acquisition for large Yahoo mailboxes#337gabeosx wants to merge 4 commits into
gabeosx wants to merge 4 commits into
Conversation
This was referenced Aug 4, 2026
gabeosx
force-pushed
the
codex/uidonly-protocol-guard
branch
2 times, most recently
from
August 4, 2026 15:19
ff804ad to
d6efe7b
Compare
This was referenced Aug 4, 2026
gabeosx
marked this pull request as ready for review
August 4, 2026 15:55
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
Yahoo's large-mailbox export path caps the ordinary IMAP view and advertises RFC 9586 UIDONLY together with RFC 9394 PARTIAL and MESSAGELIMIT. Bichon needs an explicit, bounded UIDONLY path to archive the complete mailbox instead of silently accepting the capped view.
The feature is default-off per account so existing users and ordinary IMAP servers retain the current behavior until an administrator opts in.
Supersedes #334. Resolves #333.
Review by commit
This PR intentionally reaches the end state through three self-contained check-ins:
8bda777— bounded UIDONLY protocol guard and transcript tests9c69043— canonical UID-scoped storage and projection primitivesd6efe7b— opt-in acquisition routing, checkpointing, ordinary-IMAP compatibility, and Web settingReviewing the commits in order separates the wire boundary, persistence boundary, and product integration while keeping one mergeable PR.
Resulting behavior
Risks when enabling for an existing mailbox
Enabling UIDONLY is a local archive migration decision, not merely a performance setting:
Verification
cargo check --workspace